package com.xyh.student.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Course)实体类
 *
 * @author makejava
 * @since 2022-06-13 11:31:37
 */
public class Course implements Serializable {
    private static final long serialVersionUID = -11387392614525077L;
    /**
     * 课程ID
     */

    private Integer id;
    /**
     * 课程名称
     */
    private String name;
    /**
     * 课程图片
     */
    private String image;
    /**
     * 课程简介
     */
    private String brief;
    /**
     * 授课老师
     */
    private String teacher;
    /**
     * 课程类型
     */
    private Integer type;
    /**
     * 创建时间
     */
    private Date time;
    /**
     * 课程课时
     */
    private String hour;
    /**
     * 课程资源
     */
    private String datum;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    public String getDatum() {
        return datum;
    }

    public void setDatum(String datum) {
        this.datum = datum;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", image='" + image + '\'' +
                ", brief='" + brief + '\'' +
                ", teacher='" + teacher + '\'' +
                ", type=" + type +
                ", time=" + time +
                ", hour='" + hour + '\'' +
                ", datum='" + datum + '\'' +
                '}';
    }
}

